package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 销售赠送体验卡表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_employee_givegoods")
@TableAlias("beg")
@ApiModel(value="BusEmployeeGivegoods对象", description="销售赠送体验卡表")
public class BusEmployeeGivegoods extends AbstractAllEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "employeeGiveGoodsId", type = IdType.ASSIGN_ID)
    private Long employeeGiveGoodsId;

    @ApiModelProperty(value = "销售Id")
    private Long employeeId;

    @ApiModelProperty(value = "产品Id")
    private Long goodsId;

    @ApiModelProperty(value = "机场Id(单独存一下防止销售调岗)")
    private Long airportId;

    @ApiModelProperty(value = "赠送张数")
    private Integer goodsNum;

    @ApiModelProperty(value = "被赠送人姓名")
    private String userName;

    @ApiModelProperty(value = "被赠送人手机号")
    private String userMobile;

    @ApiModelProperty(value = "被赠送人账号Id")
    private Long userId;

    @ApiModelProperty(value = "赠送备注")
    private String remark;

}
